﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Library.Services.Authentication.Types.Containers;

namespace Gota.Common.Entities.UI
{
    [Serializable]
    public class SystemRoleEntity
    {
        public SystemRoleEntity()
        {

        }

        public SystemRoleEntity(SystemRolesContainer container)
        {
            ID = container.SystemRoleEntity.SystemRoleId;
            RoleName = container.SystemRoleEntity.RoleName;
            RoleDescription = container.SystemRoleEntity.RoleDescription;
            CreationDate = container.SystemRoleEntity.CreationDate;
        }

        public int ID { get; set; }
        public string RoleName { get; set; }
        public string RoleDescription { get; set; }
        public DateTime CreationDate { get; set; }
    }
}
